1.Question 1
What does PHP stand for?
--> PHP: Hypertext Preprocessor

2.Question 2
PHP Server scripts are surrounded by?
--> <?php ... ?>

3.Question 3
The PHP syntax is most similar to:
--> Perl and C

4.Question 4
Which of the following are operators in PHP?
--> (===)  and  (!=)  and  (++)

5.Question 5
What is the output of the following?
$x = 12;
$y = 12 + $x++;
echo "y = $y x = $x";

--> y = 24  x = 13


6.Question 6
What value will var_dump show that echo will not show?
--> Datatype


7.Question 7
What is a correct way to add a comment in PHP?
-->  /* ... */

8.Question 8
All variables in PHP start with [_________] symbol.
--> $

9.Question 9
What is the value returned by: (int) 9.9 - 1
-->  8 

10.Question 10
Use the [_____] operator to test if two values are identical in both value and type.
-->  ===


11.Question 11
What is the value of $x?
$x = 1200 + "34";

--> 1234


12.Question 12
In PHP you can use both single quotes ( ' ' ) and double quotes ( " " ) for strings.
--> True


13.Question 13
PHP and HTML cannot be intermingled in the same file.
--> False


14.Question 14
Which escape sequences can be used in single quoted ( ' ) strings in PHP?
-->  \\   and   \'


15.Question 15
You cannot run PHP files from the command line.
--> False


16.Question 16
You can run PHP files on a server.
--> True


17.Question 17
In PHP, variable names are case sensitive.
--> True


18.Question 18
In PHP, functions names are not case sensitive.
--> True





















